<template>
	<div class="moudle_border">
		<dv-border-box-1 class="border">
			<div class="moudle_title">
				<span class="title">{{title}}</span>
				<img src="../../public/img/moudle_title.png" alt="">
			</div>
			<slot></slot>
		</dv-border-box-1>
	</div>
</template>

<script>
	/**
	 * 大模块框边框
	 */
	export default {
		name: "moduleBorder",
		props:['title'],
	}
</script>

<style scoped lang="less">
	.moudle_border{
		width: 100%;
		//padding: 0 12px;
		//background: url("../../public/img/moudle_border.png")no-repeat center/100% 100%;
		overflow: hidden;
		.moudle_title{
			height: 40px;
			padding-top: 10px;
			display: flex;
			align-items: center;
			font-size: 18px;
			color: #ffff00;
			box-sizing: border-box;
			>.title{
				flex-shrink: 0;
			}
			>img{
				flex: 1;
				height: 16px;
				margin-left: 12px;
			}
		}
	}
    ::v-deep(.border-box-content){
		padding: 0 24px;
		box-sizing: border-box;
	}
</style>